#include <iostream>
using namespace std;
//Tao. ma tran. vuong
int main(){
	int **matran;
	int size_matran;
	cout << "Nhap vao kich co cua? ma tran. vuong : " << endl;
	cin >> size_matran;
	matran = new int*[size_matran];
	for (int i=0;i<size_matran;i++){
		matran[i] = new int[size_matran];
	}
	cout << "Nhap vao cac' phan tu? cua? ma tran. " << endl;
	for (int i =0;i<size_matran;i++){
		for (int j=0;j<size_matran;j++){
			cout << "Phan tu? thu a[" << i << "," << j << "] : " << endl;
			cin >> matran[i][j];
		}
	}
	for (int i =0;i<size_matran;i++){
		for (int j=0;j<size_matran;j++){
			cout <<	matran[i][j] << "\t";
		}
		cout << endl;
	}

	return 0;
}
